package cn.t.dto.order;

import cn.t.vo.order.ToNormalLineVO;
import lombok.Data;

import javax.validation.Valid;
import javax.validation.constraints.NotBlank;
import java.util.ArrayList;
import java.util.List;

/**
 * @author l
 */
@Data
public class ToNormalRequest {
    /**
     * 订单sn
     */
    @NotBlank(message = "订单sn不能为空")
    private String orderSn;

    /**
     * 转单明细
     */
    @Valid
    private List<ToNormalLineVO> lines = new ArrayList<>();

}
